// $Id: hello.hpp 2 2009-09-02 08:47:42Z joseph2002 $
/*
 * Copyright 2009 Joseph Wu
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
 *
 * For more information, see http://xpcomplus.sourceforge.net
 */

#ifndef XPCOM_EXAMPLE_HELLO_HPP
#define XPCOM_EXAMPLE_HELLO_HPP

#include <xpcom/object.hpp>
#include "IHelloWorld_impl.hpp"

namespace xpcom {
namespace example {

class HelloWorld : public object<HelloWorld, IHelloWorld>
{
public:
    HelloWorld();

    // IHelloWorld
    string sayHello(const char* world);

private:
    string default_world_;
};

} // namespace xpcom::example
} // namespace xpcom

#endif // XPCOM_EXAMPLE_HELLO_HPP
